<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var g_win = window;
    var is_lt = function (csn, Wsn) {
        return csn < Wsn;
    };
    var add = function (Gtn, ctn) {
        return Gtn + ctn;
    };
    var sub = function (Svn, Dvn) {
        return Svn - Dvn;
    };
    var left_shift = function (gFn, pFn) {
        return gFn << pFn;
    };
    function MapStr(map) {
        var obj = {};
        for (var [key, value] of map) {
            obj[key] = value;
        }
        var jsonString = JSON.stringify(obj);
        console.log(jsonString);
    }
    var g_map1 = new Map();
    let get_1000_canvas = function (local_a8411){
        // var local_a8411 = -1;
        var local_a8420 = g_win['document']['createElement']('canvas');
        local_a8420['width'] = 16;
        local_a8420['height'] = 16;
        var local_a8421 = local_a8420['getContext']('2d');
        local_a8421['font'] = '6pt Arial';
        // local_a8411 = g_win['Math']['floor'](mul(1000, g_win['Math']['random']()))['toString']();
        console.log(local_a8411);
        local_a8421['fillText'](local_a8411, 1, 12);
        for (var local_a8422 = local_a8420['toDataURL'](), local_a8423 = 0, local_a8424 = 0; is_lt(local_a8424, local_a8422['length']); local_a8424++) {
            local_a8423 = add(sub(left_shift(local_a8423, 5), local_a8423), local_a8422['charCodeAt'](local_a8424));
            local_a8423 &= local_a8423;
        }
        var local_a8412 = local_a8423['toString']();
        console.log(local_a8412);
        g_map1.set(local_a8411, local_a8412);
    }

    for(let i=0;i<1000;i++){
        get_1000_canvas(i.toString());
    }
    MapStr(g_map1);
    // get_1000_canvas("265");
</script>

</body>
</html>